.class public Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Lcom/waiqin365/lightapp/visit/b/bd;

.field private B:I

.field private C:Landroid/widget/TextView;

.field private D:Landroid/widget/ImageView;

.field private E:Landroid/widget/TextView;

.field private F:Landroid/widget/LinearLayout;

.field private G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

.field private H:Lcom/waiqin365/lightapp/visit/draglistview/a;

.field private I:Landroid/widget/LinearLayout;

.field private J:Lcom/waiqin365/compons/view/c;

.field private K:Z

.field private L:Lcom/waiqin365/lightapp/view/NoNetView;

.field private M:Ljava/lang/String;

.field private N:Ljava/lang/String;

.field private O:Lcom/waiqin365/lightapp/visit/draglistview/m;

.field private P:Lcom/waiqin365/lightapp/visit/draglistview/r;

.field private Q:Lcom/waiqin365/lightapp/view/hr;

.field a:F

.field b:F

.field c:F

.field d:Z

.field e:Z

.field f:Z

.field g:Z

.field h:Z

.field i:Z

.field private j:Lcom/waiqin365/lightapp/visit/b/x;

.field private k:Lcom/waiqin365/lightapp/visit/b/ah;

.field private l:Landroid/content/Context;

.field private m:Ljava/util/List;

.field private n:Ljava/util/ArrayList;

.field private o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private p:Lcom/waiqin365/lightapp/view/CalendarView;

.field private q:Lcom/waiqin365/lightapp/visit/dq;

.field private r:Landroid/widget/ImageView;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/TextView;

.field private u:Z

.field private v:Landroid/view/View;

.field private w:Ljava/lang/String;

.field private x:Ljava/lang/String;

.field private y:Landroid/view/View;

.field private z:I


# direct methods
.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->B:I

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->K:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->N:Ljava/lang/String;

    iput v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    iput v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    iput v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i:Z

    new-instance v0, Lcom/waiqin365/lightapp/visit/df;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/df;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->O:Lcom/waiqin365/lightapp/visit/draglistview/m;

    new-instance v0, Lcom/waiqin365/lightapp/visit/dg;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/dg;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->P:Lcom/waiqin365/lightapp/visit/draglistview/r;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/ah;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;Lcom/waiqin365/lightapp/visit/b/bd;)Lcom/waiqin365/lightapp/visit/b/bd;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->A:Lcom/waiqin365/lightapp/visit/b/bd;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    return-object p1
.end method

.method private a(I)V
    .locals 1

    const/4 v0, 0x1

    invoke-direct {p0, p1, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(IZ)V

    return-void
.end method

.method private a(IZ)V
    .locals 6

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CalendarView;->a()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/CalendarView;->b()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    if-eqz p2, :cond_0

    const v2, 0x7f08056c

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    :cond_0
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Ljava/util/HashMap;

    invoke-direct {v3}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v4, "condition.planDate"

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v4, "condition.page"

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v4, "condition.prePlanDate"

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->N:Ljava/lang/String;

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v4, "condition.orderBySequ"

    const-string/jumbo v5, "1"

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v4, "condition.flowType"

    const-string/jumbo v5, "1"

    invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v4, "condition.planDateStart"

    invoke-virtual {v3, v4, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "condition.planDateEnd"

    invoke-virtual {v3, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/a/n;

    invoke-direct {v0, v2, v3}, Lcom/waiqin365/lightapp/visit/a/a/n;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q:Lcom/waiqin365/lightapp/visit/dq;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method private a(Landroid/content/Intent;)V
    .locals 1

    const/4 v0, 0x1

    invoke-virtual {p0, v0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->back()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;IZ)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(IZ)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightapp/visit/b/bd;)V
    .locals 3

    const v0, 0x7f08056c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/a/e;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p1, Lcom/waiqin365/lightapp/visit/b/bd;->a:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/a/e;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q:Lcom/waiqin365/lightapp/visit/dq;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->K:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;Lcom/waiqin365/lightapp/visit/b/bd;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/b/bd;)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->B:I

    return p1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private c()V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    const v0, 0x7f0c01cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    const v0, 0x7f0c0b01

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i()V

    const v0, 0x7f0c0b02

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    const v0, 0x7f0c0cdc

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->E:Landroid/widget/TextView;

    const v0, 0x7f0c0cdb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->F:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0cb2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->D:Landroid/widget/ImageView;

    const v0, 0x7f0c09aa

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->v:Landroid/view/View;

    const v0, 0x7f0c09ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->y:Landroid/view/View;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c09ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CalendarView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    const v0, 0x7f0c0539

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r:Landroid/widget/ImageView;

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->s:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setFooterViewBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->r:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->s:Landroid/widget/TextView;

    const v1, 0x7f0804dd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const v1, 0x7f08001b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const-string/jumbo v1, "#333333"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v2, "#e0e0e0"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setDivider(Landroid/graphics/drawable/Drawable;)V

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->D:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setVisibility(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    new-instance v1, Lcom/waiqin365/lightapp/visit/db;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/db;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->s:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->v:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e()V

    goto :goto_1
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/CalendarView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    return-object v0
.end method

.method private d()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    new-instance v1, Lcom/waiqin365/lightapp/visit/di;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/di;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->setOnDateSelectedListener(Lcom/waiqin365/lightapp/view/cr;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dj;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dj;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CalendarView;->setOnDateChangeListener(Lcom/waiqin365/lightapp/view/cq;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dk;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dk;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dl;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dl;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dm;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dm;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/ah;->a(Lcom/waiqin365/lightapp/visit/b/al;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dn;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dn;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/ah;->d(Lcom/waiqin365/lightapp/visit/b/al;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    new-instance v1, Lcom/waiqin365/lightapp/visit/do;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/do;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/ah;->c(Lcom/waiqin365/lightapp/visit/b/al;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dp;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/b/ah;->a(Lcom/waiqin365/lightapp/visit/b/am;)V

    const v0, 0x7f0c0ce2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/dc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dc;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ce3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/dd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dd;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    return-object v0
.end method

.method private e()V
    .locals 7

    const v5, 0x7f0804d6

    const/4 v3, 0x1

    const/16 v6, 0x8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->y:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    sget-object v4, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v1, v4}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    :try_start_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/Date;->before(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->F:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->E:Landroid/widget/TextView;

    const v1, 0x7f080653

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v4, v3, [Ljava/lang/Object;

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v2

    invoke-static {v1, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->w:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->w:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    :cond_0
    :goto_1
    return-void

    :cond_1
    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_1
    .catch Ljava/text/ParseException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->y:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    sget-object v4, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v1, v4}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    :try_start_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/util/Date;->before(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f0804d6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_2
    .catch Ljava/text/ParseException; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_0

    :catch_1
    move-exception v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {p0, v5}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/view/NoNetView;->c(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v1, v1, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    const-string/jumbo v4, "1"

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    invoke-virtual {v1, v6}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto/16 :goto_0

    :cond_3
    :try_start_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    const v1, 0x7f0804d4

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V
    :try_end_3
    .catch Ljava/text/ParseException; {:try_start_3 .. :try_end_3} :catch_1

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->M:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    move v1, v2

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    const-string/jumbo v4, "0"

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->U:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    move v0, v3

    :goto_3
    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setEnabled(Z)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    const v1, 0x7f080036

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_5
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->C:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_4

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->I:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_1

    :cond_8
    move v0, v2

    goto :goto_3
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    return-object v0
.end method

.method private f()V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitNewPlanActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "userId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->w:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "date"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0xc9

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->overridePendingTransition(II)V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    return-object v0
.end method

.method private g()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "isSubModify"

    iget-boolean v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Landroid/content/Intent;)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Landroid/content/Intent;)V

    goto :goto_0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    return-object v0
.end method

.method private h()V
    .locals 6

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "username"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "plandate"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const v3, 0x7f080827

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    aput-object v0, v3, v4

    const/4 v0, 0x1

    aput-object v1, v3, v0

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/de;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/de;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const v2, 0x7f08005f

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const v2, 0x7f080617

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->c(Ljava/lang/String;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method private i()V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->H:Lcom/waiqin365/lightapp/visit/draglistview/a;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->H:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setFloatViewManager(Lcom/waiqin365/lightapp/visit/draglistview/n;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->H:Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDragEnabled(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a()Landroid/widget/ListView;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->O:Lcom/waiqin365/lightapp/visit/draglistview/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setDropListener(Lcom/waiqin365/lightapp/visit/draglistview/m;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->P:Lcom/waiqin365/lightapp/visit/draglistview/r;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setRemoveListener(Lcom/waiqin365/lightapp/visit/draglistview/r;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/visit/b/ah;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->K:Z

    return v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->m:Ljava/util/List;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    return v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->F:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->E:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e()V

    return-void
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/x;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/x;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->t:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->y:Landroid/view/View;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic s(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/b/bd;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->A:Lcom/waiqin365/lightapp/visit/b/bd;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->J:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic u(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)Lcom/waiqin365/lightapp/visit/dq;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q:Lcom/waiqin365/lightapp/visit/dq;

    return-object v0
.end method


# virtual methods
.method public a()Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)Lcom/waiqin365/lightapp/visit/draglistview/a;
    .locals 2

    new-instance v0, Lcom/waiqin365/lightapp/visit/draglistview/a;

    invoke-direct {v0, p1}, Lcom/waiqin365/lightapp/visit/draglistview/a;-><init>(Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;)V

    const v1, 0x7f0c0cba

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->c(I)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(Z)V

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->a(I)V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/a;->b(I)V

    return-object v0
.end method

.method public a(Ljava/lang/String;)V
    .locals 3

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "planIds"

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightapp/visit/a/a/s;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightapp/visit/a/a/s;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q:Lcom/waiqin365/lightapp/visit/dq;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method public b()V
    .locals 8

    const/16 v3, 0xc8

    const/4 v4, 0x0

    const-string/jumbo v0, "plan_view_sort"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0cdd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0802ca

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/visit/dh;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/dh;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->c:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    move v5, v4

    move v6, v4

    move v7, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->Q:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->c:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    const/16 v5, 0x23

    move v6, v4

    move v7, v4

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    goto :goto_0
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 11

    const/high16 v6, 0x41c80000    # 25.0f

    const/4 v10, 0x2

    const/4 v9, 0x0

    const/4 v8, 0x0

    const/4 v1, 0x1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-string/jumbo v2, "rlzz$$"

    invoke-static {v0, v2, v9}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    return v0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_6

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v0

    int-to-float v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    sub-float/2addr v0, v2

    invoke-static {p0, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    int-to-float v2, v2

    sub-float/2addr v0, v2

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    :cond_3
    new-array v0, v10, [I

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->getLocationInWindow([I)V

    new-array v2, v10, [I

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v3, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->getLocationInWindow([I)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    aget v0, v0, v1

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v4

    add-int/2addr v0, v4

    int-to-float v0, v0

    cmpl-float v0, v3, v0

    if-lez v0, :cond_4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    aget v2, v2, v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->L:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/NoNetView;->getMeasuredHeight()I

    move-result v3

    add-int/2addr v2, v3

    int-to-float v2, v2

    cmpg-float v0, v0, v2

    if-gez v0, :cond_4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    if-ne v0, v1, :cond_5

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    sub-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->abs(F)F

    move-result v0

    const/high16 v1, 0x42c80000    # 100.0f

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_5

    :cond_4
    :goto_1
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0

    :cond_5
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getVisibility()I

    move-result v0

    if-nez v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    :goto_2
    new-array v2, v10, [I

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->getLocationInWindow([I)V

    new-array v3, v10, [I

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4, v3}, Lcom/waiqin365/lightapp/view/CalendarView;->getLocationInWindow([I)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    if-nez v4, :cond_7

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/view/CalendarView;->getMeasuredHeight()I

    move-result v4

    int-to-float v4, v4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    sub-float/2addr v4, v5

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    invoke-static {v5, v6}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v5

    int-to-float v5, v5

    sub-float/2addr v4, v5

    iput v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v4

    iput v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    iput v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d:Z

    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/view/CalendarView;->d()Z

    move-result v4

    iput-boolean v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g:Z

    :cond_7
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    aget v6, v2, v1

    int-to-float v6, v6

    sub-float/2addr v5, v6

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v4

    if-eqz v4, :cond_15

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    if-ne v4, v10, :cond_15

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g:Z

    if-eqz v3, :cond_b

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v0

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    sub-float/2addr v0, v2

    cmpg-float v0, v0, v8

    if-gez v0, :cond_a

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    if-nez v0, :cond_8

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v2, v3}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, v9}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    :cond_8
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    goto/16 :goto_2

    :cond_a
    move v0, v1

    goto/16 :goto_0

    :cond_b
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g:Z

    if-nez v3, :cond_14

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    sub-float/2addr v3, v4

    cmpl-float v3, v3, v8

    if-lez v3, :cond_11

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v3

    if-eqz v3, :cond_d

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    if-nez v3, :cond_c

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v1

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    :cond_c
    aget v1, v2, v1

    neg-int v1, v1

    int-to-float v1, v1

    invoke-virtual {p1, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_d
    invoke-virtual {v0, v9}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v3

    if-eqz v3, :cond_f

    new-instance v4, Landroid/graphics/Rect;

    invoke-direct {v4}, Landroid/graphics/Rect;-><init>()V

    invoke-virtual {v3, v4}, Landroid/view/View;->getLocalVisibleRect(Landroid/graphics/Rect;)Z

    invoke-virtual {v3}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    invoke-virtual {v4}, Landroid/graphics/Rect;->height()I

    move-result v4

    if-le v3, v4, :cond_f

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    if-nez v3, :cond_e

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v1

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    :cond_e
    aget v1, v2, v1

    neg-int v1, v1

    int-to-float v1, v1

    invoke-virtual {p1, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_f
    iput-boolean v9, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    if-nez v0, :cond_10

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    sub-float/2addr v2, v3

    iget v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v2, v3}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, v9}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    :cond_10
    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c:F

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    sub-float/2addr v1, v2

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v1, v2}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_11
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d:Z

    if-nez v3, :cond_12

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    aget v4, v2, v1

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d:Z

    :cond_12
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    if-nez v3, :cond_13

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v1

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    :cond_13
    aget v1, v2, v1

    neg-int v1, v1

    int-to-float v1, v1

    invoke-virtual {p1, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_14
    move v0, v1

    goto/16 :goto_0

    :cond_15
    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v5

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v6

    aget v7, v3, v1

    int-to-float v7, v7

    sub-float/2addr v6, v7

    invoke-static {v4, v5, v6}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v4

    if-eqz v4, :cond_16

    aget v0, v3, v1

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {p1, v8, v0}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_16
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v4

    aget v5, v2, v1

    int-to-float v5, v5

    sub-float/2addr v4, v5

    invoke-static {v0, v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/view/View;FF)Z

    move-result v3

    if-eqz v3, :cond_1a

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eqz v3, :cond_17

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eq v3, v10, :cond_17

    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f:Z

    if-eqz v3, :cond_17

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b:F

    sub-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Math;->abs(F)F

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const/high16 v5, 0x41a00000    # 20.0f

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v4

    int-to-float v4, v4

    cmpl-float v3, v3, v4

    if-lez v3, :cond_17

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a:F

    invoke-virtual {v0, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/MotionEvent;->setAction(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->p:Lcom/waiqin365/lightapp/view/CalendarView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CalendarView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_17
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-nez v3, :cond_18

    move v0, v1

    goto/16 :goto_0

    :cond_18
    iget-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    if-nez v3, :cond_19

    invoke-static {p1}, Landroid/view/MotionEvent;->obtain(Landroid/view/MotionEvent;)Landroid/view/MotionEvent;

    move-result-object v3

    aget v4, v2, v1

    neg-int v4, v4

    int-to-float v4, v4

    invoke-virtual {v3, v8, v4}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v3, v9}, Landroid/view/MotionEvent;->setAction(I)V

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e:Z

    :cond_19
    aget v1, v2, v1

    neg-int v1, v1

    int-to-float v1, v1

    invoke-virtual {p1, v8, v1}, Landroid/view/MotionEvent;->offsetLocation(FF)V

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0

    :cond_1a
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto/16 :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4

    const/4 v1, 0x0

    const/4 v3, 0x1

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v2, "#e0e0e0"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setDivider(Landroid/graphics/drawable/Drawable;)V

    iput v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    goto :goto_0

    :pswitch_2
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    iput v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    goto :goto_0

    :pswitch_3
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h:Z

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->B:I

    if-ltz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    const-string/jumbo v1, "plancontent"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    const-string/jumbo v1, "remindTime"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bd;->W:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/ah;->notifyDataSetChanged()V

    goto :goto_0

    :pswitch_4
    if-eqz p3, :cond_0

    const-string/jumbo v0, "isSubModify"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->i:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->o:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    const-string/jumbo v2, "#e0e0e0"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setDivider(Landroid/graphics/drawable/Drawable;)V

    iput v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->G:Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/draglistview/DragSortListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->e()V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0xc9
        :pswitch_1
        :pswitch_4
        :pswitch_0
        :pswitch_3
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const v7, 0x7f040022

    const v6, 0x7f040021

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->g()V

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->f()V

    goto :goto_0

    :sswitch_2
    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->z:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->a(I)V

    goto :goto_0

    :sswitch_3
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->h()V

    goto :goto_0

    :cond_0
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitRouteSettingActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    const v0, 0x7f0805af

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_2
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v1, v2

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v4, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_3

    iget-object v4, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_3
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_4
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_5

    const v0, 0x7f08057d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :cond_5
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "list"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "draw_line_between_points"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "from"

    const-string/jumbo v2, "planManage"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/16 v1, 0xd1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->startActivityForResult(Landroid/content/Intent;I)V

    invoke-virtual {p0, v7, v6}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0b02 -> :sswitch_3
        0x7f0c0c3d -> :sswitch_2
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0c52 -> :sswitch_1
        0x7f0c0cb2 -> :sswitch_4
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/4 v2, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0302a0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSub"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "senorvisit"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "visitplanApproval"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->M:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    const-string/jumbo v1, "rlzz$$"

    invoke-static {v0, v1, v2}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f0c0ce1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_1
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->u:Z

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "list"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "userId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->w:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "date"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    :cond_2
    :goto_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->m:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    if-nez v0, :cond_3

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    :cond_3
    new-instance v0, Lcom/waiqin365/lightapp/visit/b/ah;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->n:Ljava/util/ArrayList;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/b/ah;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->k:Lcom/waiqin365/lightapp/visit/b/ah;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/waiqin365/lightapp/visit/b/ah;->a:Z

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/x;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->l:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/visit/b/x;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->j:Lcom/waiqin365/lightapp/visit/b/x;

    new-instance v0, Lcom/waiqin365/lightapp/visit/dq;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/dq;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->q:Lcom/waiqin365/lightapp/visit/dq;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->d()V

    return-void

    :cond_4
    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->w:Ljava/lang/String;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    sget-object v2, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v1, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-direct {v1, v2, v3}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "date"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->x:Ljava/lang/String;

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->dismissProgressDialog()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    if-eqz p1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanManagerActivity;->b()V

    :cond_0
    return-void
.end method
